#ifndef WINDOW_H
#define WINDOW_H

#include <QWidget>
#include <widget.h>
#include <bucquage.h>
#include <pg.h>
#include <connexionbdd.h>
#include <QHBoxLayout>
#include <QSettings>

class Window : public QWidget
{
    Q_OBJECT
public:
    explicit Window(QWidget *parent = 0);

signals:

public slots:
    void commencerBucquage(Pg *p);
    void finirBucquage();
    void recoBase();

protected:
    void closeEvent(QCloseEvent *);

private:
    Bucquage *b;
    Widget *w;

};

#endif // WINDOW_H
